package com.kerbores.blog.bean;

import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;

import com.kerbores.utils.db.DBFile;

@Table("b_photo")
public class Photo extends DBFile {

	/**
	 * 相册内容全部为图片
	 */
	{
		setImg(true);
	}

	/**
	 * 相册id
	 */
	@Column("album_id")
	private int albumId;

	@Column("description")
	private String description;

	@Column("create_time")
	private Date createTime;

	public int getAlbumId() {
		return albumId;
	}

	public void setAlbumId(int albumId) {
		this.albumId = albumId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
